Standard constants and functions
You have access to quite a few constants and functions like PI
, TAU
, saturate()
and smooth_min_polynomial()
without having to include anything. For a complete list check out math.glsl, rand.glsl and shader-utils.glsl.